-
Notifications
You must be signed in to change notification settings - Fork 86
Added Elastic as vector DB to RAG LLM #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -88,6 +88,21 @@ spec: | |||
- name: PGVECTOR_COLLECTION_NAME | |||
value: {{ .Values.global.db.index }} | |||
{{- end }} | |||
{{- if eq .Values.global.db.type "ELASTIC" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we externalize all the variables like the username, url index in values.yaml files, so that it can be overridable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have parameterized index name . I would prefer to keep url, username "opinionated" for the elastic. Elastic is default user in Elastic cluster, it allows us to benefit from automatically generated secret with credentials instead of creating additional entries to the vault. Alternative user name would require creating this user and explicitly creating RBAC , unnecessary complicating configuration for our demonstration purposes.
@@ -83,6 +83,21 @@ spec: | |||
value: 'postgresql+psycopg://$(DB_USERNAME):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)' | |||
- name: PGVECTOR_COLLECTION_NAME | |||
value: {{ .Values.global.db.index }} | |||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here . can we allow the user to override these values from values.yaml
/lgtm |
Changes to helm charts to add Elastic as one of the supported vector dbs. Also includes fixes to grafana dashboards to eliminate duplication for some of the tiles